import Qt 4.7
import "Scrollable"
import "text.js" as TextJS

Scrollable {
    contentWidth: textEdit.width
    contentHeight: textEdit.height
    flickableDirection: Flickable.HorizontalAndVerticalFlick
    hideScrollBarsWhenStopped: false

    anchors.fill: parent

    TextEdit {
        id: textEdit
        text: TextJS.getLoremIpsum()
        width: 500
        wrapMode: TextEdit.WordWrap
    }
}
